package com.yy.school.pojo;

public class Student {
    private Integer sid;
    private String sname;
    private String sex;
    private String address;

    public Student() {
    }

    public Student(Integer sid, String sname, String sex, String address) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.address = address;
    }

    /**
     * 获取
     * @return sid
     */
    public Integer getSid() {
        return sid;
    }

    /**
     * 设置
     * @param sid
     */
    public void setSid(Integer sid) {
        this.sid = sid;
    }

    /**
     * 获取
     * @return sname
     */
    public String getSname() {
        return sname;
    }

    /**
     * 设置
     * @param sname
     */
    public void setSname(String sname) {
        this.sname = sname;
    }

    /**
     * 获取
     * @return sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    public String toString() {
        return "student{sid = " + sid + ", sname = " + sname + ", sex = " + sex + ", address = " + address + "}";
    }
}
